package com.samsungchaton.common.exception;

import com.samsungchaton.common.constants.HttpStatus;
import com.samsungchaton.common.faultcode.ChatONOpenAPIFaultCode;
import com.samsungchaton.common.faultcode.message.ErrorMessage;

/**
 * InternalServerErrorException
 * 
 * @author 
 */
public final class InternalServerErrorException extends CommonServiceException {

	private static final long serialVersionUID = 931345133539718957L;

	public InternalServerErrorException() {
		super(HttpStatus.INTERNAL_SERVER_ERROR, ErrorMessage.fromFaultCode(ChatONOpenAPIFaultCode.INTERNAL_SERVER_ERROR));
	}

	public InternalServerErrorException(Throwable t) {
		super(t, HttpStatus.INTERNAL_SERVER_ERROR, ErrorMessage.fromFaultCode(ChatONOpenAPIFaultCode.INTERNAL_SERVER_ERROR));
	}
}
